package org.dromara.system.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dromara.common.mybatis.core.domain.BaseEntity;

import java.io.Serial;
import java.math.BigDecimal;

/**
 * 代理公共配置对象 sys_user_common_config
 *
 * @author Lion Li
 * @date 2025-07-03
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("sys_user_common_config")
public class SysUserCommonConfig extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @TableId(value = "id")
    private Long id;

    /**
     *
     */
    private Long userId;

    /**
     * 注册赠送积分
     */
    private BigDecimal registerPoints;

    /**
     * 开通vip价格
     */
    private BigDecimal memberPrice;

    /**
     * 每交易X元
     */
    private BigDecimal everyAmount;

    /**
     * 每交易X元返现积分
     */
    private BigDecimal cashBackPoints;

    /**
     * 积分进账有效期
     */
    private Integer pointsPeriodDay;


    //获取机具价格
    private BigDecimal getMachinePrice;

    //交易返现是否需要开通会员
    private Integer cashBackIsMember;


    //首笔提现最小值
    private BigDecimal firstWithdrawalMin;

    //单笔提现最小值
    private BigDecimal withdrawalMin;

    //单笔提现最小值
    private BigDecimal withdrawalMax;

    //商户一个月最多能提现金额
    private BigDecimal withdrawalMaxMonth;

    //抽奖保底金额
    private BigDecimal lotteryMinimumGuaranteeReward;

    //抽奖步数
    private Integer lotteryStep;

    //抽奖消耗积分
    private BigDecimal  prizeDrawPoints;

    //联系人微信地址
    private String contactsImage;

    //注册页面地址
    private String registerPath;

    /**
     * 备注
     */
    private String remark;

    /**
     * 删除标志（0代表存在 1代表删除）
     */
    @TableLogic
    private String delFlag;


}
